package com.bidepan;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

//类注解，组件扫描时将注解类加载到内存实例化为bean
@Component(value="user2") //通用注解
@Repository              //Dao层类注解
@Service                 //Service层注解
@Controller           //Controller层注解
public class User {

}
